package third.lib.wx.pay.app.model;

public class WxPayProduct {
    private String appid;
    private String mchid;
    private String description;
    private String out_trade_no;
    private String notify_url;
    private WxPayAmount amount;

    public static class WxPayAmount{
        private int total;
        private String currency;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getCurrency() {
            return currency;
        }

        public void setCurrency(String currency) {
            this.currency = currency;
        }

        public WxPayAmount(int total, String currency) {
            this.total = total;
            this.currency = currency;
        }
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public WxPayAmount getAmount() {
        return amount;
    }

    public void setAmount(WxPayAmount amount) {
        this.amount = amount;
    }
}

